package com.wjh.www.entity.po;

import com.wjh.www.annotation.mybatis.Column;
import com.wjh.www.annotation.mybatis.Table;

/**
 * @author wjh
 * @date 2021/9/10 12:41
 * @Package com.wjh.anyview.entity.po
 */
@Table("role")
public class Role {
    @Column(value = "id")
    private Long id;
    @Column(value = "role")
    private String role;
    @Column(value = "description")
    private String description;

    public Role() {
    }

    public Role(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        return "Role{" +
                "id=" + id +
                ", role='" + role + '\'' +
                ", description='" + description + '\'' +
                '}';
    }
}
